/*
 * base_encoder.h
 *
 *  Created on: Nov 30, 2016
 *      Author: lwang
 */

class BaseEncoder {

public:
	virtual ~BaseEncoder(){};

	virtual int init() = 0;
	virtual int encodeFrame(unsigned char* yuv_data, unsigned char* encode_buffer, int& length) = 0;
	virtual void close() = 0;
};
